package etcdUtils

const (
	NsqAddr = "192.168.20.9:2379"
)

/*
服务详情
*/

type ServerEntity interface {
	Handle()
}
type RegisteredClaims struct {
}

func (r *RegisteredClaims) Handle() {

}

type ServerInfo[T any] struct {
	*RegisteredClaims
	Name string
	Addr string
	Data *T `json:"data"`
}
